export function tree(menuNames: string[]): Promise<R<Menu[]>> {
  return useAPI("/menu/tree", {
    method: "POST",
    body: menuNames,
  });
}
